package com.sc.es.search;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author sc
 * Created on  2018/2/9
 */
@Data
public class HouseIndexTemplate {
    @JsonProperty("houseId")
    private Long houseId;
    private String title;
    private int price;
    private int area;
    @JsonProperty("createTime")
    private Date createTime;
    @JsonProperty("lastUpdateTime")
    private Date lastUpdateTime;
    @JsonProperty("cityEnName")
    private String cityEnName;
    @JsonProperty("regionEnName")
    private String regionEnName;
    private int direction;
    @JsonProperty("distanceToSubWay")
    private int distanceToSubway;
    @JsonProperty("subwayLineName")
    private String subwayLineName;
    @JsonProperty("subwayStationName")
    private String subwayStationName;
    private String street;
    private String district;
    private String description;
    @JsonProperty("layoutDesc")
    private String layoutDesc;
    private String traffic;
    @JsonProperty("roundService")
    private String roundService;
    @JsonProperty("rentWay")
    private int rentWay;
    private List<String> tags;
    private List<HouseSuggest> suggest;
    private BaiduMapLocation location;
}
